#ifndef __first_chr_dev_h
#define __first_chr_dev_h

#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fs.h>


struct first_chr_dev{
//设备名称
	const char *dev_name;
	int major;
	int minor;
	struct file_operations fops;
};



#endif

